package com.yc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.entity.Cartoon;

import java.util.List;

/**
 * <p>
 * InnoDB free: 4096 kB 服务类
 * </p>
 *
 * @author ly
 * @since 2022-05-25
 */
public interface ICartoonService extends IService<Cartoon> {
    public List<Cartoon> banner();

    public List<Cartoon> queryByDate(String date);

    public List<Cartoon> queryByTypes(List<String> types);

    public List<Cartoon> queryByTypesOrderByCscore(List<String> types);

    public List<Cartoon> map();

    public Integer addCartoon(Cartoon cartoon);

    public List<Cartoon> queryByCname(String cname);

    public Integer deleteByCtid(Integer ctid);

    public Integer update(Cartoon cartoon);

    public List<Cartoon> queryCname(String cname);
    public  List<Cartoon> querydirector(String  director);
    public  List<Cartoon> queryprota(String prota);
    public  List<Cartoon> queryctype(String ctype);
}
